<?php
	/**
	* @File name:	user.php
	* @Desription:	des
	* @Author:	 	jinxin<jx@178.com>   
	* @Date:	 	2012-3-25
	* @Copyright 	Copytright (c) 2008-2012 alucard.jx@gmail.com.
	*/
	
	class admin_login_model_user extends model{
		public function __construct(){
			parent::__construct();
		}
		
		public function getUserByName($username){
			return  $this->db->fetchRow("SELECT * FROM user WHERE username='{$username}'");
		}
	}
